<template>
  <div class="kefu-content">
    <div class="tit">如遇问题请联系我们</div>
    <div class="qq">qq号:{{ qqhao }}</div>
    <div class="v">微信号:{{ vhao }}</div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      qqhao: null,
      vhao: null
    };
  },
  beforeCreate: function() {
    //创建前
  },
  created: function() {
    //创建后
    this.Suk_getlist()
  },
  beforeMount: function() {
    //挂载前
  },
  mounted: function() {
    //挂载后
  },
  beforeUpdate: function() {
    //更新前
  },
  update: function() {
    //更新后
  },
  methods: {
    Suk_getlist() {
      let that = this;
      that.$toast.loading({
        message: "加载中..."
      });
      let Sukdata = {};
      console.log(Sukdata);
      that.axios
        .post(
          that.baseUrl + "/servicese/queryService",
          that.Qs.stringify(Sukdata),
          {
            headers: {
              "Content-Type": "application/x-www-form-urlencoded"
            }
          }
        )
        .then(function(res) {
          if (res.request.status === 200) {
            if (res.data.meta.code == 200) {
              console.log(res.data);
              that.qqhao = res.data.data[0].qqhao
              that.vhao = res.data.data[0].wxhao
              that.$toast.clear();
            } else if (res.data.meta.code == 501) {
            }
          }
        });
    }
  }
};
</script>
<style lang="scss" scoped>
.kefu-content {
  width: 90%;
  margin: 2rem auto;
  font-size: 0.3rem;
  .tit {
    font-size: 0.5rem;
    text-align: center;
  }
  .qq {
    margin-top: 0.5rem;
    text-align: center;
  }
  .v {
    text-align: center;
  }
}
</style>